home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / Snippets / QuickDraw / RotateString / RotateString ReadMe < prev    next >
Encoding:
Text File  |  1994-02-09  |  1.3 KB  |  36 lines  |  [TEXT/KAHL]

  1. RotateString.Lib version 2.0.1
  2. Fixed decenders, now the bottom of 'y's and 'g's won't be cut off.
  3. - C.K. Haun 2/7/94
  4. __________________________________________________________________________________________
  5.  
  6. RotateString.Lib version 2.0
  7.  
  8. added a direction parameter to the end...  Now call it like this:
  9.  
  10. #include <RotateString.h>
  11.  
  12. err = RotateString("\pRotate Me",&rotatedBitMap,clockWise);
  13.  
  14. err = RotateString("\pRotate Me",&rotatedBitMap,counterClockWise);
  15.  
  16. It will rotate in the direction you specify.
  17.  
  18. ALSO fixed some LAME bugs, such as the rotate routine did not preserve the current port,
  19. and it also did not dispose of a temporary bitmap it used.  Should be in good shape now.
  20.  
  21. - Brigham (8/27/92)
  22.  
  23. __________________________________________________________________________________________
  24. RotateString.Lib version 1.0
  25.  
  26. This contains the code for rotating a string 90 degrees counter clockwise.  This one
  27. is easy to use.  Just call  RotateString("\pRotate Me",&rotatedBitMap), and you will get 
  28. back a BitMap the size of the text that you can CopyBits anywhere you like.  RotateString
  29. will allocate the destination BitMap for you.
  30.  
  31. Also, I have included a library and THINK Pascal sample for those who need it.
  32.  
  33. - Brigham (7/??/92)
  34.  
  35.  
  36. Find any bugs, or have any comments?  Link me at BRIGHAM, or send them to DEVSUPPORT.